package com.bdqn.t382.entity;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Paper {
    private static final Logger logger = LoggerFactory.getLogger(Paper.class);
    private String size;

    public Paper(String size) {
        this.size = size;
        logger.info("创建纸张，规格：{}", size);
    }

    public String getSize() {
        logger.info("获取纸张规格：{}", size);
        return size;
    }

}
